﻿// 功能：弹出表格式菜单事件
// 描述：
// 作者：温伟鹏
// 日期：2010/5/13 16:51:10

using System;

namespace MeizuSDK.Presentation
{
    /// <summary>
    /// 当弹出表格式菜单中的项被单击时引发此事件
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public delegate void GridMenuItemClickedEventHandler(object sender,GridMenuItemClickedEventArgs e);
    /// <summary>
    /// 弹出表格式菜单项单击事件参数
    /// </summary>
    public class GridMenuItemClickedEventArgs : EventArgs
    {
        private GridMenuItem clickedItem;
        /// <summary>
        /// 获取当前用户点击的菜单项
        /// </summary>
        public GridMenuItem Item
        {
            get{
                return clickedItem;
            }
        }

        public GridMenuItemClickedEventArgs(GridMenuItem clickedItem)
        {
            this.clickedItem = clickedItem;
        }
    }
}
